﻿@model Mvc3Blog.Models.Post
@{
    View.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
    Details</h2>
<fieldset>
    <legend>Fields</legend>
    <div class="display-label">
        Title</div>
    <div class="display-field">@Model.Title</div>
    <div class="display-label">
        Body</div>
    <div class="display-field">@Model.Body</div>
    <div class="display-label">
        Tags</div>
    <div class="display-field">@Model.Tags</div>
    <div class="display-label">
        CreatedBy</div>
    <div class="display-field">@Model.CreatedBy</div>
    <div class="display-label">
        CreatedOn</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreatedOn)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) | @Html.ActionLink("Back to List", "Index")
</p>
